package com.ruoyi.workbench.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.util.Date;

/**
 * 拜访日志对象 wb_visit_log
 *
 * @author hanjiafeng
 * @date 2021-02-25
 */
@ToString
public class WbVisitLog extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @Getter
    @Setter
    private Long id;

    /**
     * 自然庄名称
     */
    @Getter
    @Setter
    private Long unitId7;

    /**
     * 用户姓名
     */
    @Excel(name = "用户姓名")
    @Getter
    @Setter
    private String userName;

    /**
     * 当前号码
     */
    @Excel(name = "当前号码")
    @Getter
    @Setter
    private String currentPhoneNumber;

    /**
     * 运营商
     */
    @Getter
    @Setter
    @Excel(name = "用户类型", readConverterExp = "5=本网,6=异网,7=潜在")
    private Long communicationOperator;

    /**
     * 用户意向
     */
    @Getter
    @Setter
    private Long tendency;

    /**
     * 套餐价值
     */
    @Excel(name = "套餐价值")
    @Getter
    @Setter
    private Long mealValue;

    /**
     * 到期时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Getter
    @Setter
    @Excel(name = "到期时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date expiredTime;

    /**
     * 房屋类型
     */
    @Getter
    @Setter
    private Long houseType;

    /**
     * 转化号码
     */
    @Excel(name = "转化号码")
    @Getter
    @Setter
    private String translatedPhoneNumber;

    /**
     * 现场照片
     */
    @Getter
    @Setter
    @Excel(name = "现场照片")
    private String scenePhoto;

    /**
     * 备注
     */
    @Excel(name = "备注")
    @Getter
    @Setter
    private String remake;

    /**
     * 0正常，1删除
     */
    @Getter
    @Setter
    private Long delFlag;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "添加日期", width = 30, dateFormat = "yyyy-MM-dd")
    @Getter
    @Setter
    private Date createTime;
}
